<div class="con-menu">
    <ul class="menulist">
        <?php foreach($cat_list as $item) { ?>
        <li class="menuli">
            <a href="<?php echo U('News/index', array('nav_flag' => 'news', 'cat_id' => $item['id'])); ?>" <?php if ($cat_id == $item['id']) { ?>class="on"<?php } ?>><?php echo $item['name']; ?></a>
        </li>
        <?php } ?>
        <li class="menuli">
            <a href="<?php echo U('News/photo', array('nav_flag' => 'news', 'sidebar_flag' => 'photo')); ?>" <?php if ($sidebar_flag == 'photo') { ?>class="on"<?php } ?>>向阳瞬间</a>
        </li>
        <li class="menuli">
            <a href="<?php echo U('News/ganyan', array('nav_flag' => 'news', 'sidebar_flag' => 'ganyan')); ?>" <?php if ($sidebar_flag == 'ganyan') { ?>class="on"<?php } ?>>向阳感言</a>
        </li>
    </ul>
</div>